<?php
/**
 * Class 个人中心.
 * User: chan
 * Date: 2017/10/20 11:22
 */

namespace app\pc\controller;
class Personal extends Base
{
    //检查权限作用域
    protected $beforeActionList  = [
        'checkPrimaryScope' => [
            'except' => 'except'
        ],
    ];

    /**
    *   个人中心详情页
    */
    public function index(){
        $index =  (new \app\pc\logic\Personal())->index();
        return $this->ajaxReturn($index);
    }

    /**
    *   个人中心详情
    */
    public function userInfo(){
        $userInfo =  (new \app\pc\logic\Personal())->userInfo();
        return $this->ajaxReturn($userInfo);
    }

}